I gave up a long time ago trying to eliminate latency from my keyboard when using BIAB and a soft synth. My keyboard line out goes to the mixer in parallel with the line out from a MIDI sound module (currently a SD50) which is driven by BIAB, and another line out from the computer to the mixer for real tracks. This works perfectly with no MME/ASIO issues to worry about.
Tony