From 4d Ambitwistor Strings to On Shell Diagrams and Back