A euro zone finance ministers’ meeting strained to reach an agreement on a new “bailout” for Greece, based on deeply unpopular austerity measures.