Man stabs boyfriend, self in San Gabriel Valley attack: Officials