Japan court paves way for more nuclear restarts