The court shall decide any issue not required to be tried by a jury unless it is referred to a referee to determine pursuant to section 4317.