Focusing of relativistic electrons in dense plasma using a resistivity-gradient-generated magnetic switchyard.