Mortgage company Rocket Cos. is buying competitor Mr. Cooper in an all-stock deal valued at $9.4 billion, just weeks after ...