Unbolt the caliper from the hanger and take out the pads. Get an assistant to slowly pump the brake pedal ( make sure the resevoir is full) while you hold the caliper, and you will see the piston start to come out. When it gets most of the way out, you can remove the brake line and either poll it the last bit with some grips, or blow it out with compressed air.
If you've still got rubber hoses you can clamp them with a wad of rag and mole grips, but the best solution is to use a nut and bolt through the banjo and the copper washers from the old fitting. You will need to replace the washers - i think they are included in the toyota refurb kit.