Split the main map into four sub-maps. Run each Robot sequentially until it stops either due to door or finding all keys.