An Indiana man armed with three assault rifles and chemicals used to make explosives was arrested in Southern California on Sunday and told police he wanted to do harm to a gay pride parade — an event that annually draws hundreds of thousands of people, authorities said.