Judges say that if government fails to mull applications, thousands of refugees who fled genocide must be granted temporary residency