Berlusconi wins budget vote but loses majority