UBS to exit broker pact weeks after Morgan Stanley defected