Yemeni minister resigns over attacks, coup