ECJ rules Italy bank bailout was legal