Va. man accused of trying to join Islamic State is ordered held