Pakistani police have arrested hundreds of Shia Muslims in two cities following the funeral of a murdered religious leader while a man was shot dead for violating a curfew, officials said.