Man accused of grenade attack at Amritsar temple killed in police encounter