US to consider mass release of detained migrants over budget woes