Boulder attack suspect stopped from purchasing gun due to immigration status