The Boston Police Department said it received and ignored 12 Immigration and Custom Enforcement requests to detain suspected illegal immigrants last year under the city’s Trust Act.