HAYWARD, Calif. — Hundreds of mourners paid their respects Tuesday at the viewing for a San Francisco Bay Area Rapid Transit sergeant accidentally shot and killed by a fellow officer last week during a search of an apartment.