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

This simple patch filters out extra whitespace entries.
minor (but since we need to run Jenkins again): `filter(_.nonEmpty)` is more readable