Bay Area man pleads to killing of transient and jail guard a