Saudi Arabia has replaced its military chief of staff and other defense officials amid its stalemated war in Yemen.