Army foils infiltration bid, 30 ultras trapped