Facing criticism, Libya's Tobruk-based PM vows to resign