Cyprus moves closer to bailout