Faced with an ageing population and ballooning costs, Madrid has opted to increase contributions rather than cut benefits