The shooter had complained multiple times about pain following back surgery and sought additional treatment days before the attack, which left five people dead, including the gunman, police said.