PH courts have almost 1M unresolved cases