Bendigo police officers left with temporary hearing loss after assault, Bendigo Magistrates' Court told