New policies, and a court ruling, protect whales from ships in SF Bay and along the Pacific coast