A unified approach to global solvability for FBSDEs with diagonal generators