Fixes for recent scaling work: ensure DownsampleBAM run as transcation, catch additional memory errors during callability