Three ‘militants’ killed in foiled army base attack: India