Pak detains JeM militants