Who deserted John in favor of Philip?