Pakistan Islamist party faces legal challenge