Simmering internal criticism of the European Commission president came to the boil over a messy, confused and secretive spending plan that highlighted divisions and revealed political fragilities.