Judge gives initial OK to $1B Surfside deal