Prompt emission from tidal disruptions of white dwarfs by intermediate mass black holes