Quick update:
Between cutting holes in socks and untying the tops of my boots, I seem to have solved the problem. Three 25km days in a row, with only discomfort instead of pain. If anyone else ends up having this problem, make sure that you remove as much pressure from that part of the ankle...