Pakistan president goes to Dubai as split with military widens