Key militant commander surrenders in Pakistan