Recovery partition fills up half of the disk, cannot resize
I was able to fix it by erasing the recovery partition with diskutil eraseVolume JHFS+ Blank disk0s3 and resiizng the main partition in Disk Utility, but I am still not sure why it got that big in the first place.