Fixed #859: hpx::endl should flush
Fixed #862: value_or_error shall not default construct its result