Rs 297bn spent in war on terror, Senate told