Thousands rally in Pakistan after sectarian unrest