Ex-GOP candidate arrested in shootings at lawmakers' homes