A Pakistani sweet shop owner has confessed to fatally poisoning at least 30 people by lacing his goods with pesticide in an attempt to take revenge on his older brother, police said.