Pedro Passos Coelho, Portugal’s prime minister, said Lisbon’s two ruling coalition parties had ‘found a formula to maintain government stability’