Jury convicts Gary man in bank robbery where guard was slain