Indian national sentenced to 8 years for attempted White House attack