Boeing boss to resign following string of near-catastrophes involving its jets