[SPARK-4130][MLlib] Fixing libSVM parser bug with extra whitespace 

This simple patch filters out extra whitespace entries.