Shareholders of M&T Bank Corporation and People's United Financial have approved a merger agreement. The companies now need to obtain regulatory approval.